﻿@*
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
*@
@model SharpDoc.TemplateContext
@using SharpDoc.Model
@helper Dump(string bodyTemplateName)
{
    <script type="text/javascript" language="javascript">
            if(window == window.top)
                location.href = "/documentation/?page=@Model.Topic.PageId";
            document.addEvent('domready', function () {
                InstallCodeTabs();
            });
    </script>
    <div class="sharpdoc">
        <div class="content">
            @Include(bodyTemplateName)
        </div>
    </div>
}

